/**
 *  Eclipse Public License 1.0
 */
package org.fireblade.easysms;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.util.Log;
import android.widget.Toast;
import backport.android.bluetooth.BluetoothClass;
import backport.android.bluetooth.BluetoothDevice;

/**
 * receive bluetooth events - after a connect, start the serversocket
 */
public class BluetoothEventReceiver extends BroadcastReceiver {
  /**
   * own log tag
   */
  private static final String LOGTAG = MainActivity.EASY_SMS + BluetoothEventReceiver.class.getSimpleName();

  static final String ACTION_BT_MANUAL = "org.fireblade.easysms.ACTION_BT_MANUAL";
  static final String ACTION = "action";
  static final String MANUAL_ON = "manual-on";
  static final String MANUAL_OFF = "manual-off";

  @Override
  public void onReceive(Context context, Intent intent) {
    Log.d(LOGTAG, "Received an intent: " + intent.getAction());
  }
}